<?php
#通用函数
include_once(_CONST_LOCAL_INCLUDE_PATH."common.php");

define("_BACKEND_ACTION",$_GET["action"]);

#db
include_once(_CONST_LOCAL_INCLUDE_PATH."database.class.php");
$database = new Database($db_vars);

$user = array(
	'buserid' => $_SESSION['buserid'],
	'bname'   => $_SESSION['bname']
);

if (!is_backend_loggedin()) {
  include(_ROOTPATH."backend/login.php");
  die;
}

?>